#pragma once

struct D3DXVECTOR3;

namespace e3d
{
	class IRenderObject;

	class ILODSelector
	{
	public:
		ILODSelector() : m_currentLOD( 0 ){};
		virtual ~ILODSelector(){};

		virtual bool isLODSufficient( IRenderObject* obj, const D3DXVECTOR3* camPos ) = 0;
		virtual unsigned int currentLOD() const { return m_currentLOD; }

	protected:
		unsigned int m_currentLOD;
	};
}
